import { Form, Input } from 'antd';
import { useState, forwardRef } from 'react';

const CInput = (props) => {
  console.log('CInput', props);
  function onChange(e) {
    props?.onChange(e.target.value);
  }
  return (
    <>
      <Input value={props.value} onChange={onChange}></Input>
    </>
  );
};

export default CInput;
